home *** CD-ROM | disk | FTP | other *** search
- Path: news.hik.se!usenet
- From: td93aj@te.hik.se (Andreas Johansson)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Visual E - New E Developer Tool - vedev.gif (0/1)
- Date: Wed, 20 Mar 1996 13:05:13 GMT
- Organization: Capitex
- Message-ID: <3150027b.2440158@news.hik.se>
- Reply-To: td93aj@te.hik.se
- NNTP-Posting-Host: mia95joa.dialin.hik.se
- X-Newsreader: Forte Agent .99c/16.141
-
- Short: Like Visual Basic, made for E on Amiga
-
-
- -------------------------------------------------------------------------------
- !!!!!!!!! Now it's here, Visual E Developer Professional for Amiga
- !!!!!!!!!!!!
- -------------------------------------------------------------------------------
-
- Have you sometimes envy owner of Visual Basic for Windows, now you
- don't have to do that anymore. Visual E will soon be ready for you.
-
- With Visual E everyone becomes a professional program developer.
- Visual E is perfect to create utillities with advanced userinterfaces.
-
- If you are a programdeveloper you need to have this program, it will
- replace everything that you have seen before.
-
- The attached file is a screenshot from the program.
-
- The program is under test, and a demoversion with disabled
- savefunction will be released in a couple of weeks.
-
- If you can't wait contact me and maybe help me to finaltest the
- demoversion.
-
- Visual E requires that you have E. It works better if you have a
- videocard or a good monitor so you can work in a high resolution, so
- you can have many windows open at the same time.
-
- The demoversion is public domain. The registrated version will cost
- $50.
-
- Until Visual E have arrived you can check out an earlier work of
- mine, the E Developer Professional, you can find it on aminet under
- dev/e/edevprof.lha.
-
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
-
-
- This is a example of how you can make a simple program in Visual E:
-
-
- 1. You just draw a window with two buttons, like this:
- .............................
- .-. Window . . .
- .............................
- . ..... .
- . .New. . <- Button object
- . ..... .
- . ............ .
- . . . .
- . . Hello . . <- Button object
- . ............ .
- . .
- . ..
- .............................
-
- 2. Name the window 'TestWindow'
-
- 3. Name the first Button object 'NewButton'
-
- 4. Name the second Button object 'TestButton'
-
- 5. Double click on the 'NewButton', and you will open the code window.
-
- Write the following code:
- ............................................................
- . . |NewButton | |event_click | .
- ............................................................
- .PROC event_click(msg) .
- . DEF newwin:PTR TO TestWindow .
- . NEW newwin._load() .
- . newwin._left(newwin._left()+20) .
- . newwin._top(newwin._top()+20) .
- . newwin._show() .
- .ENDPROC .
- ............................................................
-
- 6. Double click on the NewButton, and you will jump to the event_click
- of
- this object in the code window.
-
- Write the following code:
-
- ............................................................
- . . |TestButton | |event_click | .
- ............................................................
- .PROC event_click(msg) .
- . IF StrCmp(thiswin.TestButton._title(), 'Hello') .
- . thiswin.TestButton._text('World!') .
- . thiswin._refresh() .
- . ELSE .
- . thiswin._unload() .
- . ENDIF .
- .ENDPROC .
- ............................................................
-
-
- 7. You have just created a simple program in five minutes. It's not
- every day that you do a program like this just for fun, and only 15
- lines of code.
-
- Imagine how long time it would take to do this program in the normal
- function oriented way, and how many lines of code maybe five times
- more and just as much greater chance to make bugs.
-
- What are you waiting for just run the program!
-
- Result:
-
- When you press the 'New' button, you will open a new instance of the
- window.
-
- When you press the 'Hello' button the text of the button will change
- to 'World!', next time you press it the window will close down.
-
- Whenever you want you can press the close gadget of the window.
-
- When all windows are closed then the program will end.
-
-
- The author:
-
- Thank you for reading this, if you are interested don't hesitate to
- contact me. Maybe you are interessted to help me make some smart
- objects for example arexx object, better moduleplayer objcect,
- internetobject, boopsi object, generic object (so you can implement
- your own objects in a library), fast graphicsobjects like bobs,
- databaseobject or an object like saxxtab for Windows (or what it's
- called).
-
-
- Functions that you maybe will find in future versions:
-
- Gadgets placed on a panel (bevelbox) can be grouped, and have
- cordinates relative to the panel and automatic moves when you move the
- panel.
-
- The design mode spread and align functions also in runtime mode (so
- you easy can make fontsensetive applications).
-
- Much better textedit object.
-
- Overall better performance.
-
- Better configuration of the userinterface.
-
- Per Jonsson
- Sagovagen 19
- 393 52 Kalmar
- Sweden
-
- Mobilephone: 070 - 794 70 48
- Email: td93jp@te.hik.se
- (This is a temporary email-address, I check for mail maybe 4 times a
- month)
- ---
- Signature file located at ftp://ftp.net.net/dev/null
-